package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class WorkCodesPK {

	@Column(name = "WorkCodeID", nullable = false)
    private Integer workCodeId;

	@Column(name = "WorkCode", nullable = false, length = 30)
    private String workCode;

	public WorkCodesPK(Integer workCodeId, String workCode) {
        super();
        this.workCodeId = workCodeId;
        this.workCode = workCode;
    }

	private WorkCodesPK() {
        super();
    }

	public Integer getWorkCodeId() {
        return workCodeId;
    }

	public String getWorkCode() {
        return workCode;
    }
}
